class YuiController {

    def index = { }

    def tree = {

    }

    def json = {
        log.info "place holder controller method to show views/evolution/tree2.gsp"

        // return back a JSON structure
        response.setHeader("Cache-Control", "no-store")
        render(contentType: "text/json") {
            nodes {
                node(name: "Test 1", id:1)
                node(name: "Test 2", id:2)
            }
        }
    }

}
